followsListen 80; # # Listen for IPv4.4.2 Find index line, add index.php, modify content as followsIndex index.php index.html index.htm4.3 Find the definition section of PHP, remove the comments of these lines, and modify the contents as followsLocation ~ \.php$ {Fastcgi_pass Unix:/var/run/php5-fpm.sock;Fastcgi_index index.php;Include Fastcgi_params;}There are some other definitions in the PHP section, do not move it, for example:# Fastcgi_split_path
This is Meelo original play the Raspberry Pi series articleWhen it comes to Daoteng interesting Raspberry Pi projects, there are often time-bound tasks. For example, you need to check the bar every day, measuring the temperature per hour. In Linux, the crontab command is a good way to accomplish this task.crontab comma
") while1: Time.sleep (120) Get_webservertime ("www.baidu.com")3. Giving permissionsudo chmod 777 date.py4. Test procedureChange the system time to an expiration time first' 2016-02-03 10:00:00 'To see if the system time has been modified successfullysudo dateExecute a well-written Python program and use the date command after 20 seconds to see if the system time is synchronized successfully!sudo python date.py5. Add Python program to bootEdit the sys
DHCP.Auto Wlan0Iface Wlan0 inet DHCPPre-up Wpa_supplicant-b-dwext-iwlan0-c/etc/wpa_supplicant/wpa_supplicant.confPost-down Killall-q Wpa_supplicantAfter the modification is complete, restart the network using the following commandsudo/etc/init.d/networking restartAfter success, you can see the wlan0 device with the Ifconfig command, and have the IP address (connected)Note: Both of these methods we are using DHCP dynamic IP, if you want to set the static IP method and the method to connect the h
Touch screen buy back for a long time no use, recently found that he is can touch. Tinker a bit.The personal use of Raspberry Pi is the official recommendation system, the version isThe best part of this version is that the kernel has compiled the Egalax touchscreen, and the Apt-get upgrade updates the system to use the touchscreen recently.Calibration of the touch screen is possible, the calibration tool x
The initial start of the Raspberry Pi requires the following steps:Install system image to SD cardConnection Configuration Raspberry PiConfigure Remote Control Raspberry PiThe materials to be prepared are as follows:More than 16G high-speed storage SD card one. (Please note that the
introduce how to use shared storage to create other redundant services. Note that although Raspberry Pi is used in this article, the following configuration operations are also applicable to other hardware.Configure Raspberry Pi
Download the latest Linux release from the Raspberry
Raspberry Pi-01-start, Raspberry Pi-01-start
What is Raspberry Pi? You don't know? I went to Baidu, an interesting hardware.
Online shopping of a batch of accessories, finally arrived, 16 gb sd card,
input
sudo raspi-config
Copy CodeThen select Change_locale, and select ZH_CN in the default locale for the system environment:. UTF-8, after the configuration is complete, enter the command
sudo reboot
Copy CodeRestart complete can be connected to the VNC after the use of Chinese display and Chinese input method, switch Chinese input method is the same ctrl+space5. Q: How do I install Google's Open source browser Chromium on Rasp
it to be set.7 Add your Raspberry Pi to the online warehouseis to ask if you'd like to add your Raspberry Pi to the online warehouse.8 overclockingTry a generation of Raspberry
. Inside it, there are system partitions A and B that we installed.
when we swipe the card, we need to pay attention to the matter:
1) When we swipe, if our card has been mount (usually when the card is inserted, our file browser will automatically open and display the content), we need to be umount these drive. We can do this with the following commands:
$ sudo umount/media/$USER/system-a
$ sudo umount/media/$USER/system-b
$ sudo umount/media/$USER/writable
$ sudo umount/media/$USER/system-
Windows platform and NuGet package SQLITE.NET-PCL. For more information on how to use SQLite, refer to:
The following is the database class in this system:
public class Database:sqliteconnection {public static string path = Path.Combine ( ApplicationData.Current.LocalFolder.Path, "atmo.db");p ublic DataBase (): Base (new SQLITEPLATFORMWINRT (), Path) { createtable
INotifyPropertyChanged Interface Implementation
public class viewmodelbase:inotifypropertychanged {public
card to the computer, and format the SD card using SDFormatter software.
Iii. Write the Raspbian System
Use Win32DiskImager to burn the image. Select the image you want to burn and click "Write.
4. Raspberry Pi connected to laptop Wifi hotspot
1. 2016-11-25-raspbian-jessie SSH is unavailable by default. Create an ssh file in the root directory of the boot partition of the TF card.
2. Use ExtFS to mount
0 PrefaceThis article uses Python file I/O operations to obtain Raspberry Pi CPU temperature information. The Python request library periodically uploads temperature information to the yeelink platform and modifies RC. the local script enables the Python script to run in the background at startup, and reports the temperature information to the platform every 5 minutes. I have read a lot of blog posts about
Raspberry Pi (Raspberry Pi) sound output can be set to automatic, headset output, three types of output from HDMI, the default is automatic
Pi @ aborn ~ $ Sudo apt-get install alsa-utilsPi @ aborn ~ $ Sudo modprobe snd-bcm2835 # Add
Raspberry Pi-rsync and Raspberry Pi rsyncYou can use rsync to synchronize folders between different computers. You may want to transfer a file from your desktop computer or laptop to your Raspberry Pi and keep the file updated. Or
In the case of only notebooks and no routers, we can use the Raspberry Pi to connect the computer to the cheetah WiFi generated by the wireless signal logged into the Raspberry Pi 3, Raspberry Pi 3b has built-in WiFi. Before that,
after the first two steps our Raspberry Pi has worked normally, but before actually using it to develop some column configuration and software installation, so that the development will be handy, below we introduce the common software and services1. Configuration options:The first time a Raspberry Pi is used, a simple
searched Wi-Fi network is testing, and the password (psk) is testingPassword.
Adding the network details to the rassberry pi (add the network to Raspberry PI)
Open with nano EditorWpa-supplicanT configuration file:
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
Add the
pi base for Raspberry Pi Raspberry website website :https://www.raspberrypi.org : https:// www.raspberrypi.org/downloads/ official system: RaspBian, address https://www.raspberrypi.org/downloads/raspbian/ System Installation Tool: etcher, address https://etcher.io/ Technical Documentation:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.